cmake_minimum_required(VERSION 3.18.0)
project(src VERSION 0.1.0 LANGUAGES C CXX)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# header
include_directories(
    sg_game_engine
    sg_snake
)

add_subdirectory(sg_game_engine)
add_subdirectory(sg_snake)

aux_source_directory(. SRC_LIST)
add_executable(main main.cpp)
target_link_libraries(main PUBLIC sg_snake)